<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<ui:composition template="/pages/template/modelo.xhtml">
	<ui:define name="titulo">:: Login Friendzone ::</ui:define>
	<ui:define name="cabecalho">
		<div class="win-commandlayout win-ui-dark"
			style="background-color: #424251; height: 120px;">
			<div>
				<h:form style="float:left;margin-top:10px;" id="formLogin">
					<div style="float: left;">
						<h:graphicImage value="/resources/img/friendzone.png"
							width="250px" />
					</div>
					<div style="float: righ t;">
						<table>
							<tr>
								<td><h:outputLabel value="E-mail" style="font-weight:bold;" /></td>
								<td colspan="2"><h:outputLabel value="Senha"
										style=" font-weight:bold;margin-left:5px;" /></td>
							</tr>
							<tr>
								<td><h:inputText value="#{auth.pessoa.descricaoEmail}"
										size="150" /></td>
								<td><h:inputSecret value="#{auth.pessoa.senhaPessoa}"
										size="150" style="margin-left:5px;" /></td>
								<td><h:commandButton value="Entrar"
										actionListener="#{auth.login}"
										style="float:right; background-color:#FFFFFF;color:#555555;margin-top:-10px;margin-left:5px;">
									</h:commandButton></td>
							</tr>
						</table>
					</div>
				</h:form>
			</div>
		</div>

	</ui:define>
	<ui:define name="corpo">
		<div style="background-color: #ECECFB;">
			<h:messages styleClass="alert alert-error" />
			<h:form style="width:50%;float:right;" id="formCadastro">
				<div class="page-header">
					<h1>Erro ao tentar fazer login</h1>
				</div>
			</h:form>
		</div>
	</ui:define>
	<ui:define name="rodape">
		<div class="win-commandlayout win-ui-dark"
			style="background-color: #424251;">
			<div>
				<h:graphicImage value="/resources/img/friendzone.png" />
			</div>
		</div>
	</ui:define>
</ui:composition>

</html>
